<%@ page import="employee.Employee" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%--
  Created by IntelliJ IDEA.
  User: 王宇航
  Date: 2023/3/10
  Time: 16:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Editer_index</title>
</head>
<body style="text-align: center">
<form action="/employee" method="post">
  <input type="hidden" name="action" value="update"><br>
  <input type="hidden" name="id" value="${sessionScope.employee.id}"><br>
  <input type="text" name="name" value="${sessionScope.employee.name}"><br>
  <input type="number" name="age" value="${sessionScope.employee.age}"><br>
  <input type="text" name="email" value="${sessionScope.employee.email}"><br>
  <input type="text" name="gender" value="${sessionScope.employee.gender}"><br>
  <input type="submit" value="Editer">
</form>
</body>
</html>
